Component({
  methods:{
    async toPay(){
      const res=await wx.requestPayment({
        nonceStr: 'nonceStr',
        package: 'package',
        paySign: 'paySign',
        timeStamp: 'timeStamp',
      })
      console.log(res)
    }
  }
})